class Token {
    bool ok;
    String token;

    Token({this.ok, this.token});

    factory Token.fromJson(Map<String, dynamic> json) {
        return Token(
            ok: json['ok'],
            token: json['token'],
        );
    }

    Map<String, dynamic> toJson() {
        final Map<String, dynamic> data = new Map<String, dynamic>();
        data['ok'] = this.ok;
        data['token'] = this.token;
        return data;
    }

}